﻿using UnityEngine;
using System.Collections;
using Boomlagoon.JSON;

public class CellStateParser {
	public static void parseCellState (JSONObject cellStateJsonObj , CellState cellState)
	{
		cellState.X = (int)cellStateJsonObj.GetNumber("x");
		cellState.Y = (int)cellStateJsonObj.GetNumber("y");
		cellState.Z = (int)cellStateJsonObj.GetNumber("z");
	}
}
